package com.kx.service_exam.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ModulePartRealExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ModulePartRealExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_module_part_real
     *
     * @mbggenerated Tue Mar 27 09:10:29 CST 2018
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idIsNull() {
            addCriterion("choice_depart_id is null");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idIsNotNull() {
            addCriterion("choice_depart_id is not null");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idEqualTo(String value) {
            addCriterion("choice_depart_id =", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idNotEqualTo(String value) {
            addCriterion("choice_depart_id <>", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idGreaterThan(String value) {
            addCriterion("choice_depart_id >", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idGreaterThanOrEqualTo(String value) {
            addCriterion("choice_depart_id >=", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idLessThan(String value) {
            addCriterion("choice_depart_id <", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idLessThanOrEqualTo(String value) {
            addCriterion("choice_depart_id <=", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idLike(String value) {
            addCriterion("choice_depart_id like", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idNotLike(String value) {
            addCriterion("choice_depart_id not like", value, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idIn(List<String> values) {
            addCriterion("choice_depart_id in", values, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idNotIn(List<String> values) {
            addCriterion("choice_depart_id not in", values, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idBetween(String value1, String value2) {
            addCriterion("choice_depart_id between", value1, value2, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_depart_idNotBetween(String value1, String value2) {
            addCriterion("choice_depart_id not between", value1, value2, "choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andChoice_weightIsNull() {
            addCriterion("choice_weight is null");
            return (Criteria) this;
        }

        public Criteria andChoice_weightIsNotNull() {
            addCriterion("choice_weight is not null");
            return (Criteria) this;
        }

        public Criteria andChoice_weightEqualTo(Integer value) {
            addCriterion("choice_weight =", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightNotEqualTo(Integer value) {
            addCriterion("choice_weight <>", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightGreaterThan(Integer value) {
            addCriterion("choice_weight >", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightGreaterThanOrEqualTo(Integer value) {
            addCriterion("choice_weight >=", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightLessThan(Integer value) {
            addCriterion("choice_weight <", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightLessThanOrEqualTo(Integer value) {
            addCriterion("choice_weight <=", value, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightIn(List<Integer> values) {
            addCriterion("choice_weight in", values, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightNotIn(List<Integer> values) {
            addCriterion("choice_weight not in", values, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightBetween(Integer value1, Integer value2) {
            addCriterion("choice_weight between", value1, value2, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andChoice_weightNotBetween(Integer value1, Integer value2) {
            addCriterion("choice_weight not between", value1, value2, "choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idIsNull() {
            addCriterion("multi_choice_depart_id is null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idIsNotNull() {
            addCriterion("multi_choice_depart_id is not null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idEqualTo(String value) {
            addCriterion("multi_choice_depart_id =", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idNotEqualTo(String value) {
            addCriterion("multi_choice_depart_id <>", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idGreaterThan(String value) {
            addCriterion("multi_choice_depart_id >", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idGreaterThanOrEqualTo(String value) {
            addCriterion("multi_choice_depart_id >=", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idLessThan(String value) {
            addCriterion("multi_choice_depart_id <", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idLessThanOrEqualTo(String value) {
            addCriterion("multi_choice_depart_id <=", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idLike(String value) {
            addCriterion("multi_choice_depart_id like", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idNotLike(String value) {
            addCriterion("multi_choice_depart_id not like", value, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idIn(List<String> values) {
            addCriterion("multi_choice_depart_id in", values, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idNotIn(List<String> values) {
            addCriterion("multi_choice_depart_id not in", values, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idBetween(String value1, String value2) {
            addCriterion("multi_choice_depart_id between", value1, value2, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_depart_idNotBetween(String value1, String value2) {
            addCriterion("multi_choice_depart_id not between", value1, value2, "multi_choice_depart_id");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightIsNull() {
            addCriterion("multi_choice_weight is null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightIsNotNull() {
            addCriterion("multi_choice_weight is not null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightEqualTo(Integer value) {
            addCriterion("multi_choice_weight =", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightNotEqualTo(Integer value) {
            addCriterion("multi_choice_weight <>", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightGreaterThan(Integer value) {
            addCriterion("multi_choice_weight >", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightGreaterThanOrEqualTo(Integer value) {
            addCriterion("multi_choice_weight >=", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightLessThan(Integer value) {
            addCriterion("multi_choice_weight <", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightLessThanOrEqualTo(Integer value) {
            addCriterion("multi_choice_weight <=", value, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightIn(List<Integer> values) {
            addCriterion("multi_choice_weight in", values, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightNotIn(List<Integer> values) {
            addCriterion("multi_choice_weight not in", values, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightBetween(Integer value1, Integer value2) {
            addCriterion("multi_choice_weight between", value1, value2, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_weightNotBetween(Integer value1, Integer value2) {
            addCriterion("multi_choice_weight not between", value1, value2, "multi_choice_weight");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idIsNull() {
            addCriterion("fill_depart_id is null");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idIsNotNull() {
            addCriterion("fill_depart_id is not null");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idEqualTo(String value) {
            addCriterion("fill_depart_id =", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idNotEqualTo(String value) {
            addCriterion("fill_depart_id <>", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idGreaterThan(String value) {
            addCriterion("fill_depart_id >", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idGreaterThanOrEqualTo(String value) {
            addCriterion("fill_depart_id >=", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idLessThan(String value) {
            addCriterion("fill_depart_id <", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idLessThanOrEqualTo(String value) {
            addCriterion("fill_depart_id <=", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idLike(String value) {
            addCriterion("fill_depart_id like", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idNotLike(String value) {
            addCriterion("fill_depart_id not like", value, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idIn(List<String> values) {
            addCriterion("fill_depart_id in", values, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idNotIn(List<String> values) {
            addCriterion("fill_depart_id not in", values, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idBetween(String value1, String value2) {
            addCriterion("fill_depart_id between", value1, value2, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_depart_idNotBetween(String value1, String value2) {
            addCriterion("fill_depart_id not between", value1, value2, "fill_depart_id");
            return (Criteria) this;
        }

        public Criteria andFill_weightIsNull() {
            addCriterion("fill_weight is null");
            return (Criteria) this;
        }

        public Criteria andFill_weightIsNotNull() {
            addCriterion("fill_weight is not null");
            return (Criteria) this;
        }

        public Criteria andFill_weightEqualTo(Integer value) {
            addCriterion("fill_weight =", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightNotEqualTo(Integer value) {
            addCriterion("fill_weight <>", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightGreaterThan(Integer value) {
            addCriterion("fill_weight >", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightGreaterThanOrEqualTo(Integer value) {
            addCriterion("fill_weight >=", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightLessThan(Integer value) {
            addCriterion("fill_weight <", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightLessThanOrEqualTo(Integer value) {
            addCriterion("fill_weight <=", value, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightIn(List<Integer> values) {
            addCriterion("fill_weight in", values, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightNotIn(List<Integer> values) {
            addCriterion("fill_weight not in", values, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightBetween(Integer value1, Integer value2) {
            addCriterion("fill_weight between", value1, value2, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andFill_weightNotBetween(Integer value1, Integer value2) {
            addCriterion("fill_weight not between", value1, value2, "fill_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idIsNull() {
            addCriterion("judge_part_id is null");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idIsNotNull() {
            addCriterion("judge_part_id is not null");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idEqualTo(String value) {
            addCriterion("judge_part_id =", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idNotEqualTo(String value) {
            addCriterion("judge_part_id <>", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idGreaterThan(String value) {
            addCriterion("judge_part_id >", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idGreaterThanOrEqualTo(String value) {
            addCriterion("judge_part_id >=", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idLessThan(String value) {
            addCriterion("judge_part_id <", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idLessThanOrEqualTo(String value) {
            addCriterion("judge_part_id <=", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idLike(String value) {
            addCriterion("judge_part_id like", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idNotLike(String value) {
            addCriterion("judge_part_id not like", value, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idIn(List<String> values) {
            addCriterion("judge_part_id in", values, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idNotIn(List<String> values) {
            addCriterion("judge_part_id not in", values, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idBetween(String value1, String value2) {
            addCriterion("judge_part_id between", value1, value2, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_part_idNotBetween(String value1, String value2) {
            addCriterion("judge_part_id not between", value1, value2, "judge_part_id");
            return (Criteria) this;
        }

        public Criteria andJudge_weightIsNull() {
            addCriterion("judge_weight is null");
            return (Criteria) this;
        }

        public Criteria andJudge_weightIsNotNull() {
            addCriterion("judge_weight is not null");
            return (Criteria) this;
        }

        public Criteria andJudge_weightEqualTo(Integer value) {
            addCriterion("judge_weight =", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightNotEqualTo(Integer value) {
            addCriterion("judge_weight <>", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightGreaterThan(Integer value) {
            addCriterion("judge_weight >", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightGreaterThanOrEqualTo(Integer value) {
            addCriterion("judge_weight >=", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightLessThan(Integer value) {
            addCriterion("judge_weight <", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightLessThanOrEqualTo(Integer value) {
            addCriterion("judge_weight <=", value, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightIn(List<Integer> values) {
            addCriterion("judge_weight in", values, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightNotIn(List<Integer> values) {
            addCriterion("judge_weight not in", values, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightBetween(Integer value1, Integer value2) {
            addCriterion("judge_weight between", value1, value2, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andJudge_weightNotBetween(Integer value1, Integer value2) {
            addCriterion("judge_weight not between", value1, value2, "judge_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idIsNull() {
            addCriterion("essay_part_id is null");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idIsNotNull() {
            addCriterion("essay_part_id is not null");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idEqualTo(String value) {
            addCriterion("essay_part_id =", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idNotEqualTo(String value) {
            addCriterion("essay_part_id <>", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idGreaterThan(String value) {
            addCriterion("essay_part_id >", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idGreaterThanOrEqualTo(String value) {
            addCriterion("essay_part_id >=", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idLessThan(String value) {
            addCriterion("essay_part_id <", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idLessThanOrEqualTo(String value) {
            addCriterion("essay_part_id <=", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idLike(String value) {
            addCriterion("essay_part_id like", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idNotLike(String value) {
            addCriterion("essay_part_id not like", value, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idIn(List<String> values) {
            addCriterion("essay_part_id in", values, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idNotIn(List<String> values) {
            addCriterion("essay_part_id not in", values, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idBetween(String value1, String value2) {
            addCriterion("essay_part_id between", value1, value2, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_part_idNotBetween(String value1, String value2) {
            addCriterion("essay_part_id not between", value1, value2, "essay_part_id");
            return (Criteria) this;
        }

        public Criteria andEssay_weightIsNull() {
            addCriterion("essay_weight is null");
            return (Criteria) this;
        }

        public Criteria andEssay_weightIsNotNull() {
            addCriterion("essay_weight is not null");
            return (Criteria) this;
        }

        public Criteria andEssay_weightEqualTo(Integer value) {
            addCriterion("essay_weight =", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightNotEqualTo(Integer value) {
            addCriterion("essay_weight <>", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightGreaterThan(Integer value) {
            addCriterion("essay_weight >", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightGreaterThanOrEqualTo(Integer value) {
            addCriterion("essay_weight >=", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightLessThan(Integer value) {
            addCriterion("essay_weight <", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightLessThanOrEqualTo(Integer value) {
            addCriterion("essay_weight <=", value, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightIn(List<Integer> values) {
            addCriterion("essay_weight in", values, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightNotIn(List<Integer> values) {
            addCriterion("essay_weight not in", values, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightBetween(Integer value1, Integer value2) {
            addCriterion("essay_weight between", value1, value2, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andEssay_weightNotBetween(Integer value1, Integer value2) {
            addCriterion("essay_weight not between", value1, value2, "essay_weight");
            return (Criteria) this;
        }

        public Criteria andModule_idIsNull() {
            addCriterion("module_id is null");
            return (Criteria) this;
        }

        public Criteria andModule_idIsNotNull() {
            addCriterion("module_id is not null");
            return (Criteria) this;
        }

        public Criteria andModule_idEqualTo(String value) {
            addCriterion("module_id =", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idNotEqualTo(String value) {
            addCriterion("module_id <>", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idGreaterThan(String value) {
            addCriterion("module_id >", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idGreaterThanOrEqualTo(String value) {
            addCriterion("module_id >=", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idLessThan(String value) {
            addCriterion("module_id <", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idLessThanOrEqualTo(String value) {
            addCriterion("module_id <=", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idLike(String value) {
            addCriterion("module_id like", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idNotLike(String value) {
            addCriterion("module_id not like", value, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idIn(List<String> values) {
            addCriterion("module_id in", values, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idNotIn(List<String> values) {
            addCriterion("module_id not in", values, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idBetween(String value1, String value2) {
            addCriterion("module_id between", value1, value2, "module_id");
            return (Criteria) this;
        }

        public Criteria andModule_idNotBetween(String value1, String value2) {
            addCriterion("module_id not between", value1, value2, "module_id");
            return (Criteria) this;
        }

        public Criteria andExam_idIsNull() {
            addCriterion("exam_id is null");
            return (Criteria) this;
        }

        public Criteria andExam_idIsNotNull() {
            addCriterion("exam_id is not null");
            return (Criteria) this;
        }

        public Criteria andExam_idEqualTo(String value) {
            addCriterion("exam_id =", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idNotEqualTo(String value) {
            addCriterion("exam_id <>", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idGreaterThan(String value) {
            addCriterion("exam_id >", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idGreaterThanOrEqualTo(String value) {
            addCriterion("exam_id >=", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idLessThan(String value) {
            addCriterion("exam_id <", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idLessThanOrEqualTo(String value) {
            addCriterion("exam_id <=", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idLike(String value) {
            addCriterion("exam_id like", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idNotLike(String value) {
            addCriterion("exam_id not like", value, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idIn(List<String> values) {
            addCriterion("exam_id in", values, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idNotIn(List<String> values) {
            addCriterion("exam_id not in", values, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idBetween(String value1, String value2) {
            addCriterion("exam_id between", value1, value2, "exam_id");
            return (Criteria) this;
        }

        public Criteria andExam_idNotBetween(String value1, String value2) {
            addCriterion("exam_id not between", value1, value2, "exam_id");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelete_flagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andModify_timeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModify_timeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModify_timeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeLessThan(Date value) {
            addCriterion("modify_time <", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("modifier like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("modifier not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_module_part_real
     *
     * @mbggenerated do_not_delete_during_merge Tue Mar 27 09:10:29 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}